package com.yc.study.controller;

import com.yc.study.service.AnalyzeService;
import com.yc.study.vo.UserRegistrationAnalysisVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author 75073
 */
@RestController
@RequestMapping("study/analyze")
public class AnalyzeController {
  @Autowired AnalyzeService analyzeService;

  @GetMapping
  public List<UserRegistrationAnalysisVo> loadList() {
    return analyzeService.loadList();
  }
}
